#ifndef ANIMATE_H
#define ANIMATE_H

#include "cSprite.h"

#define MAX_FRAMES 30

class cAnimation {
	public:
		//Animate the class

		//Constructor
		cAnimation(cSprite sprites[MAX_FRAMES] = NULL);

		//Destructor
		~cAnimation();

		//Plays the frames that are held within the "textureFrames"
		void playAnimation();

		//Condition to see if the animation is looped
		bool isLooped();

	private:
		//Container for the Frames
		unsigned int	m_numOfFrames;

		//Texture Container
		cSprite			m_sprites[MAX_FRAMES];
};

#endif